package com.zerox.sbdemo.mapper;

import com.zerox.sbdemo.pojo.Fruit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FruitMapper {
    List<Fruit> list();

    Fruit select(@Param("fruitID")Integer fruitID);

    int add(Fruit fruit);

    int delete(@Param("fruitID") Integer fruitID);


    int update(Fruit fruit);
}
